package com.px.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import com.px.common.annotation.Excel;
import com.px.common.core.domain.BaseEntity;

/**
 * 人员航线关联对象 sys_user_routes
 * 
 * @author WRJ
 * @date 2024-08
 */
public class SysUserRoutes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    @Excel(name = "用户ID")
    private Long userId;

    /** 航线主键id */
    @ApiModelProperty(value = "航线主键id")
    @Excel(name = "航线主键id")
    private Integer routesId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRoutesId(Integer routesId) 
    {
        this.routesId = routesId;
    }

    public Integer getRoutesId() 
    {
        return routesId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("routesId", getRoutesId())
            .toString();
    }
}
